package com.dataextend.mapper.cluster;

import com.dataextend.entity.UserRoleEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface UserRoleDao {
    int add(UserRoleEntity userRoleEntity);
    int update(UserRoleEntity userRoleEntity);
    void delete(Long id);
    UserRoleEntity queryById(Long id);
    List<UserRoleEntity> list(UserRoleEntity userRoleEntity);
}
